package user;

import Book.BookList;
import Opration.IOperation;

public abstract class User {
   public String name;
   protected IOperation[] iOperation;
    public User(String name) {
        this.name = name;
    }

    public abstract int menu();
    public void doIoperation(int choice, BookList bookList){
         this.iOperation[choice].work(bookList);
    }
}
